package com.linzm.behavioraltype.template11;

/**
 * @Author zimingl
 * @Date 2023/4/16 13:54
 * @Description: TemplatePatternDemo
 */
public class TemplatePatternDemo {
    public static void main(String[] args) {
        Game game = new Cricket();
        game.play();
        System.out.println();
        game = new Football();
        game.play();
    }
}
